package com.biu.billiards.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.biu.billiards.model.bo.DeviceBO;
import com.biu.billiards.model.bo.OpenDoorBO;
import com.biu.billiards.model.entity.OpenDoor;
import com.baomidou.mybatisplus.extension.service.IService;
import com.biu.billiards.model.vo.OpenDoor.AddOpenDoorVo;
import com.biu.billiards.model.vo.OpenDoor.GetOpenDoorVo;
import com.biu.billiards.model.vo.OpenDoor.UpdateOpenDoorVO;
import com.biu.billiards.model.vo.device.AddDeviceVo;
import com.biu.billiards.model.vo.device.GetDeviceVo;
import com.biu.billiards.model.vo.device.UpdateDeviceVO;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xue
 * @since 2023-11-08
 */
public interface IOpenDoorService extends IService<OpenDoor> {


    IPage<OpenDoorBO> getOpenDoorPage(GetOpenDoorVo getOpenDoorVo);

    Boolean updateOpenDoor(UpdateOpenDoorVO updateOpenDoorVO);


    Boolean addOpenDoor(AddOpenDoorVo addOpenDoorVo);

    Boolean deleteOpenDoor(Integer deviceId);





}
